#pragma once
#include "mprpcconfig.h"
#include "mprpcchannel.h"
#include "mprpccontroller.h"
#include "logger.h"
//mprpc框架的基础类
class MprpcApplication
{
    public:
    static void Init(int argc,char **argv);
    static MprpcApplication& GetInstance();
    MprpcConfig& GetConfig();
    private:
    static MprpcConfig m_config;
    MprpcApplication(){}
    MprpcApplication(const MprpcApplication&)=delete;
    MprpcApplication(MprpcApplication&&)=delete;
};